#ifndef _MAPCHIPS_H_
#define _MAPCHIPS_H_

struct _mapchips {
  struct _sprite *sprite[MAP_W][MAP_H];
  struct _task *task;
};

struct _mapchips Mapchips;

void mapchips_trans_state(state (*fp)(struct _task *task), struct _mapchips *mapchips);
void mapchips_init();
void mapchips_free();
struct _mapchips *mapchips_add();
state mapchips_update(struct _task *task);
#endif
